package me.guythundar.NoChat;

import org.bukkit.event.player.PlayerKickEvent;
import org.bukkit.event.player.PlayerListener;

public class PlayerKickListener extends PlayerListener{

	public NoChat plug;
	
	public PlayerKickListener(NoChat noChat) {
		plug = noChat;
	}

	public void onPlayerKick(PlayerKickEvent e){
		plug.playerHearingLevels.remove(e.getPlayer().getName());
	}
}
